home *** CD-ROM | disk | FTP | other *** search
/ Champak 26 (Anniversary Edition) / Volume 26 [Anniversary Edition] - JOGO DISK .iso / Fight / fightingschool.swf / scripts / frame_182 / PlaceObject2_139_62 / CLIPACTIONRECORD onClipEvent(keyUp).as < prev    next >
Text File  |  2006-06-09  |  826b  |  43 lines

  1. onClipEvent(keyUp){
  2.    if(!Key.isDown(Key.DOWN))
  3.    {
  4.       klp = false;
  5.       klr = true;
  6.    }
  7.    if(_root.PAUSE == false)
  8.    {
  9.       if(!Key.isDown(Key.SPACE))
  10.       {
  11.          akp = false;
  12.          akr = true;
  13.       }
  14.       if(!Key.isDown(Key.UP))
  15.       {
  16.          jpp = false;
  17.          jpr = true;
  18.       }
  19.       if(!Key.isDown(Key.RIGHT) and !Key.isDown(Key.LEFT))
  20.       {
  21.          moving = false;
  22.       }
  23.       if(!Key.isDown(Key.RIGHT))
  24.       {
  25.          rkp = false;
  26.          rkr = true;
  27.          if(ATT == false)
  28.          {
  29.             this.plyr1.gotoAndPlay("stop");
  30.          }
  31.       }
  32.       if(!Key.isDown(Key.LEFT))
  33.       {
  34.          lkp = false;
  35.          lkr = true;
  36.          if(ATT == false)
  37.          {
  38.             this.plyr1.gotoAndPlay("stop");
  39.          }
  40.       }
  41.    }
  42. }
  43.